﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.TeamFoundation.Build.Client;

namespace HybridLab.Workflow.Activities.UI
{
	internal class BuildDefinitionEx
	{
		internal BuildDefinitionEx(IBuildDefinition buildDefinition)
		{
			if (buildDefinition == null)
			{
				throw new ArgumentNullException("buildDefinition");
			}
			Definition = buildDefinition;
			Name = this.Definition.Name;
		}

		public IBuildDefinition Definition { get; set; }

		public string Name { get; set; }
	}
}